package com.ogawa.chair7808.utils;

import com.ogawa.chair7808.manager.DataManager;

public class ModuleUtils {
    public static String getName(){
        String name ="";
        try{
            String value = DataManager.getInst().getDevice7808StateBean().getRunningStatus();
            if(!value.equals("0")){
                if(value.equals("1")){
                    name = "全身舒展";
                }
                else if(value.equals("2")){
                    name = "老年模式";
                }
                else if(value.equals("3")){
                    name = "泰式拉伸";
                }
                else if(value.equals("4")){
                    name = "速按放松";
                }
                else if(value.equals("5")){
                    name = "清晨唤醒";
                }
                else if(value.equals("6")){
                    name = "舒眠模式";
                } else if(value.equals("7")){
                    name = "运动恢复";
                }
                else if(value.equals("8")){
                    name = "深度放松";
                }
                else if(value.equals("9")){
                    name = "上班族";
                }
                else if(value.equals("10")){
                    name = "低头族";
                }
                else if(value.equals("11")){
                    name = "开车族";
                }
                else if(value.equals("12")){
                    name = "高跟族";
                } else if(value.equals("13")){
                    name = "午间小休";
                }
                else if(value.equals("14")){
                    name = "女王美体";
                }
                else if(value.equals("15")){
                    name = "男士健体";
                }
                else if(value.equals("16")){
                    name = "久坐释压";
                }
                else if(value.equals("17")){
                    name = "酸痛检测";
                }
                else if(value.equals("18")){
                    name = "肩颈呵护";
                }
                else if(value.equals("19")){
                    name = "脊柱放松";
                }
                else if(value.equals("20")){
                    name = "腰臀养护";
                }
                else if(value.equals("21")){
                    name = "纤腿健足";
                }

            }
        }catch (Exception e){
            e.printStackTrace();
        }
        return name;
    }
}
